<template>
  <view style="width: 100%; height: 100%">
    <iframe style="width: 100%; height: 100vh; border: 0" frameborder="0" :src="testSrc"></iframe>
  </view>
</template>
<script setup>
const route = useRoute();
const { proxy } = getCurrentInstance();
const testSrc = ref('');
// proxy.$modal.showLoading('加载中')
(() => {
  const id = route.params && route.params.id;
  console.log(id)
  testSrc.value = "http://mq.apisev.cn/viewer/editor/" + id;
})();
</script>
<style></style>
